import request from '@/utils/request'

// 查询政策咨询列表
export function listProzczx(query) {
  return request({
    url: '/project/prozczx/list',
    method: 'get',
    params: query
  })
}

// 查询政策咨询详细
export function getProzczx(id) {
  return request({
    url: '/project/prozczx/' + id,
    method: 'get'
  })
}

// 新增政策咨询
export function addProzczx(data) {
  return request({
    url: '/project/prozczx',
    method: 'post',
    data: data
  })
}

// 修改政策咨询
export function updateProzczx(data) {
  return request({
    url: '/project/prozczx',
    method: 'put',
    data: data
  })
}

// 删除政策咨询
export function delProzczx(id) {
  return request({
    url: '/project/prozczx/' + id,
    method: 'delete'
  })
}
